<%@page contentType="text/html;charset=UTF-8"%>
<%@page pageEncoding="UTF-8"%>
<%@ page session="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
            <title>Delete Box</title>
        <c:import url="/WEB-INF/formating/link.jsp"/>
    </head>
    <body>
       <c:import url="/WEB-INF/formating/menu.jsp"/>
        <div id="conteiner">
            <c:import url="/WEB-INF/formating/sideMenu.jsp"/>
            <div id="main">
            <h1>
		Delete Box
            </h1>
            
                <form:form modelAttribute="box" action="boxDel" method="post">
                    <fieldset>
                        <legend>Select box by id:</legend>
                        <p>
                            <form:label for="boxID" path="boxID" cssErrorClass="error">boxID</form:label><br/>
                            <form:select path="boxID" multiple="false">
                                <form:options items="${boxList}" />
                            </form:select>
                            <form:errors path="boxID" />
                        </p>

                        <p>
                            <input type="submit" name="Delete"/>
                        </p>
                    </fieldset>
                </form:form>
            
                <hr>
                    
                </hr>

            <ul>
                <li><a href="offer">Back to Offer</a></li>
            </ul>
            </div>
        </div>
            <c:import url="/WEB-INF/formating/foot.jsp"/>
    </body>
</html>